html::-webkit-scrollbar{
   display: none;
}
body{
    background: rgb(245,245,245);
}
/* --------------------------------------头部----------------------------------- */
header{
    width: 10rem;
    height: 1.173333rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    position: fixed;
    z-index: 10;
    top: 0;
}
.searchBox{
    width: 7.866667rem;
    height: .8rem;
    background-color: rgb(244,244,244);
}
.headerPic{
    width: .533333rem;
    height: .533333rem;
}
.searchBox{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
}
.searchBox img{
    width: .533333rem;
    height: .533333rem;
}
.searchInp{
    height: .533333rem;
    width: 6.5rem;
    background-color: rgb(244,244,244);
}

/* --------------------------------------轮播图----------------------------------- */
.banner{
    width: 10rem;
    height: 130px;
    margin-top: 1.173333rem;
    background-color: #cccccc;
    overflow: hidden;
    position: relative;
}
.pictures{
    width: 500%;
    height: 100%;
    display: flex;
    position: absolute;
}
.pictures li{
    width: 10rem;
    height: 100%;
    flex-shrink: 0;
}
.pictures li a{
    display: block;
    width: 100%;
    height: 100%;
}
.pictures li img{
    width: 100%;
    height: 100%;
}
.dotsList{
    width: 100px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
}
.dot.active{
    background-color: #fff;
}

/* --------------------------------------导航栏----------------------------------- */
.nav{
    width: 10rem;
    height: 2.666667rem;
    background-color: #fff;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.menuList{
    width: 1.5rem;
    height: 2rem;
}
.menuList a{
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.menuList a img{
    width: .8rem;
    height: .8rem;
}
.menuIcon{
    width: 1.12rem;
    height: 1.12rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menuList:nth-of-type(1) .menuIcon{
    background-color: rgb(232,99,70);
}
.menuList:nth-of-type(2) .menuIcon{
    background-color: rgb(0,153,146);
}
.menuList:nth-of-type(3) .menuIcon{
    background-color: rgb(255,222,129);
}
.menuList:nth-of-type(4) .menuIcon{
    background-color: rgb(18,78,93);
}
.title{
    font-size: 12px;
    color: black;
}
/* --------------------------------------导航栏----------------------------------- */
.flashSale{
    width: 10rem;
    height: 4.4rem;
    background: #fff;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.saleTitle{
    height: .8rem;
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
}
.saleTitle img{
    width: .8rem;
    height: .8rem;
}
.saleTitle span{
    font-weight: bold;
    margin-left: 5px;
}
.flashGoods{
    width: 10rem;
    height: 2.72rem;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
}
.flashGoods div{
    height: 100%;
    width: 1.97rem;
}
.flashGoods div a{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.flashGoods div img{
    width: 1.9rem;
    height: 1.9rem;
}
.flashGoods div span{
    font-size: 14px;
    color: red;
    margin-left: -6px;
}
.line{
    width: 2px;
    height: 1.9rem;
    background-color: rgb(241,241,241);
}

/* --------------------------------------中间大图----------------------------------- */
.new{
    width: 10rem;
    height: 10.4rem;
    margin-top: 10px;
    background-color: #fff;
}
.newPicture{
    width: 10rem;
    height: 3.2rem;
}
.newPicture img{
    width: 100%;
    height: 100%;
}
.newGoods{
    width: 100%;
    height: 7.2rem;
    padding:  10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}
.newGoods li{
    width: 25%;
    height: 50%;
    border-right: 1px solid rgb(241, 241, 241);
    border-bottom: 1px solid rgb(241, 241, 241);
    /* border-radius: 6px; */
    /* overflow: hidden; */
    /* box-shadow: 0px 0px 5px #ccc; */
    /* border: 1px dashed #ccc; */
}
.newGoods li:nth-of-type(4){
    border-right: none;
}
.newGoods li:nth-of-type(8){
    border-right: none;
}
.newGoods .bottomLi{
    border-bottom: none;
}
.newGoods li a{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: red;
}
.newGoods li a img{
    width: 100%;
    height: 70%;    
}
.newGoods li a span:nth-of-type(1){
    font-size: 12px;
    color: black;
}
.newGoods li a span:nth-of-type(2){
    font-size: 12px;
    color: red;
}



